﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Application.Services;
using Microsoft.Extensions.Logging;
using Microsoft.AspNetCore.Mvc;

namespace BookStore.Books
{
    //[Route("/api/[controller]/[action]")]
    public class MemberService : ApplicationService
    {
        private readonly ILogger<MemberService> logger;

        public MemberService(ILogger<MemberService> logger)
        {
            this.logger = logger;
        }

        [HttpGet("/member/getlist")]
        public void GetListMsg(string str)
        {
            logger.LogInformation("++++++++++++日志信息++++++++++++++");
            logger.LogInformation(str);
            logger.LogError(str);
            logger.LogDebug(str);
            logger.LogWarning(str);
            logger.LogInformation("++++++++++++日志信息++++++++++++++");
        }
        /*
        public void CreateMsg(string str)
        {
            logger.LogInformation(str);
            logger.LogError(str);
        }

        public void UpdateMsg(string str)
        {
            logger.LogInformation(str);
            logger.LogError(str);
        }

        public void DeleteMsg(string str)
        {
            logger.LogInformation(str);
            logger.LogError(str);
        }

        public void QueryMsg(string str)
        {
            logger.LogInformation(str);
            logger.LogError(str);
        }
        */
    }
}
